package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 报告事项
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@TableName("IG_BASE_REPORT_MATTER")
public class IgBaseReportMatter extends Model<IgBaseReportMatter> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId("REPORT_MATTER_ID")
    private String reportMatterId;

    /**
     * 事项名称
     */
    @TableField("MATTER_NAME")
    private String matterName;

    /**
     * 报告情况默认值
     */
    @TableField("REPORT_SITUATION_DEFAULT")
    private String reportSituationDefault;

    /**
     * 有无违纪默认值
     */
    @TableField("BREACH_PRINCIPLE_DEFAULT")
    private String breachPrincipleDefault;

    @TableField("SERIAL_NUMBER")
    private Integer serialNumber;


    public String getReportMatterId() {
        return reportMatterId;
    }

    public IgBaseReportMatter setReportMatterId(String reportMatterId) {
        this.reportMatterId = reportMatterId;
        return this;
    }

    public String getMatterName() {
        return matterName;
    }

    public IgBaseReportMatter setMatterName(String matterName) {
        this.matterName = matterName;
        return this;
    }

    public String getReportSituationDefault() {
        return reportSituationDefault;
    }

    public IgBaseReportMatter setReportSituationDefault(String reportSituationDefault) {
        this.reportSituationDefault = reportSituationDefault;
        return this;
    }

    public String getBreachPrincipleDefault() {
        return breachPrincipleDefault;
    }

    public IgBaseReportMatter setBreachPrincipleDefault(String breachPrincipleDefault) {
        this.breachPrincipleDefault = breachPrincipleDefault;
        return this;
    }

    public Integer getSerialNumber() {
        return serialNumber;
    }

    public IgBaseReportMatter setSerialNumber(Integer serialNumber) {
        this.serialNumber = serialNumber;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.reportMatterId;
    }

    @Override
    public String toString() {
        return "IgBaseReportMatter{" +
        "reportMatterId=" + reportMatterId +
        ", matterName=" + matterName +
        ", reportSituationDefault=" + reportSituationDefault +
        ", breachPrincipleDefault=" + breachPrincipleDefault +
        ", serialNumber=" + serialNumber +
        "}";
    }
}
